package com.cmy.mylog.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author:Cmy
 * @Date:2023-11-13 13:50
 */
@Data
@ConfigurationProperties(prefix = "spring.my-log")
public class MyLogProperties {

    /**
     * 是否开启日志 默认是false
     */
    private Boolean enabled = false;

    /**
     * 其他的包 用,隔开
     */
    private String scanPackages;

}

    